| Fully Qualified Name: | Laminas\Hydrator\HydratorInterface |
| Extends: | HydrationInterface, ExtractionInterface |
| Name | Description | Defined By |
|---|---|---|
| extract() | Extract values from an object | ExtractionInterface |
| hydrate() | Hydrate $object with the provided $data. | HydrationInterface |
Extract values from an object
| Parameter Name | Type | Description |
|---|---|---|
| $object |
Returns: array
Hydrate $object with the provided $data.
| Parameter Name | Type | Description |
|---|---|---|
| $data | array | |
| $object |
Returns: object The implementation should return an object of any type. By purposely omitting the return type from the signature, implementations may choose to specify a more specific type.